import StatusEnum from "@/enums/StatusEnum";

/**
 * @param label 表头
 * @param prop 字段名
 * @param isSearch 是否筛选项
 * @type {[{isSearch: boolean, prop: string, label: string},{isSearch: boolean, prop: string, label: string},{isSearch: boolean, prop: string, label: string},{isSearch: boolean, prop: string, label: string, enum: {0: string, 1: string, 2: string}}]}
 */
const tableColumn = [{
    label: "ID",
    prop: "id",
    isTable: true,
  }, {
    label: "医生姓名",
    prop: "name",
    isSearch: true,
    isTable: true,
    isForm: true,
    formType: "input",
  },
  {
    label: "问诊类型",
    prop: "type",
    isTable: true,
  },
]
const tableConfig = {
  buttons: ["view", "edit"]
}

const pageConfig = {
  small: false,
  disabled: false,
  background: false,
}
export {
  tableColumn,
  tableConfig,
  pageConfig
};